<!DOCTYPE html>
<html lang="en">

<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Document</title>
</head>

<body>
  <div style="display: inline;"> div1</div>
  <div style="display: inline-block;"> div2</div>
  <div style="display: block; float: left;"> div3</div>
  <div style="display: inline-block;"> div4</div>
  <div style="display: block; float: left; clear: both;"> div5</div>
  <div style="display: block; float: left;"> div6</div>
</body>

</html>